home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / ab20 / hardware / zkickdrm.rdm < prev   
Text File  |  1992-01-08  |  4KB  |  89 lines

  1.  
  2. Alloc -- what the blazes is it?
  3.  
  4.   Alloc is a program written by Mitchell M. Evans for one reason only...
  5.   to allow ZKICK to work with ADRAM, and :
  6.  
  7.   o Not lose 1MB to "thin air" via the -c0 option of ZKICK
  8.   o Correct the problem with the ADRAM program/ZKICK combo:
  9.     ZKICK allocates the memory and reboots.  ADRAM frees it after
  10.     reboot.  Hence, the Kickstart written there gets trashed when
  11.     the memory gets reallocated by the system.
  12.  
  13.   If you are not using ZKICK and an ADRAM board, stop reading here.
  14.   This is not the program you want to be using.  Otherwise, read on!
  15.  
  16.   ------------------------------------------------------------------
  17.  
  18.   Your main concern is the amount of memory installed on your ADRAM.
  19.   If it is less than one meg -- go buy more memory!  You can't run
  20.   zkick!  You will need to determine the address you wish the kickstart
  21.   to be loaded into.  C00000 IS NOT IT.  Using the -c0 option of ZKICK
  22.   will cause you to lose the ~1MB between C7FFFF and DBFFFF!  That's
  23.   why I spent all this time doing this, you see.  Now, if you are
  24.   using 1MB, loading kickstart at C80000 is safe.  Use C80000 as the
  25.   start value in the ZKICK call, and as the starting address in your
  26.   call to alloc.  If you have 4MB on the ADRAM board, and want to
  27.   get fancy, use 900000 as the address.  Why?  Well, I think that the
  28.   autoconfig portion (starting at C00000) is the extra 512K of chip
  29.   RAM for those of you lucky enough to have a fatter Agnes (I don't,
  30.   so I can't test it).  I am not EXACTLY sure about this, so I put
  31.   mine at 900000 just in case (in case a fatter Agnes falls from
  32.   Heaven and installs itself into my Amiga).  Finally, kickstart is
  33.   512K long.  The second parameter to ALLOC should be 512.
  34.  
  35.   EXAMPLE TIME, KIDDIES!
  36.  
  37.   -- in s:startup-sequence file --
  38.  
  39.   c:failat 21
  40.   c:setcpu >nil:
  41.   c:if WARN  ;if we're running 1.2 or 1.3 and want to run 2.0
  42.      c:zkick -v175 -start c80000 devs:kick.175.20 ;load 2.0 KS and reboot
  43.   endcli
  44.   c:adram
  45.   c:alloc c80000 512 ;realloc mem to protect new kickstart
  46.   ...etc...etc...etc
  47.  
  48.   -- end of example --
  49.  
  50.   This example is for folks who are running with 1-3MB.  If you are
  51.   running with 4MB may use the file provided in this distribution.
  52.   It is called startup-alloc.  Just copy it to your s:startup-sequence
  53.   file or transfer the lines marked with an asterisk (*) at the end
  54.   into your custom startup-sequence.
  55.  
  56.   --------------------------------------------------------------------
  57.  
  58.   Whew!  I had my first version of the program running within 5 minutes
  59.   after idea conception.  Of course, it accepted no parameters and was
  60.   not quite as nice (no documentation, for example).  Documenting it
  61.   and explaining it with examples has taken the rest of the evening.
  62.   Thank God for beer!  Hehehehe.  If this has enabled you, the user,
  63.   to run 2.0 on your Amiga with an ADRAM, cool!  If you wish to
  64.   reimburse me for the beer tonight, in the hopes that I will plug
  65.   away some other night and save your skin, send $5 or a six-pack
  66.   to:
  67.  
  68.     Mitchell M. Evans
  69.     12373 Calle Albara #5
  70.     El Cajon, CA  92019
  71.  
  72.   Otherwise, just enjoy the code!  This is not copyrighted, shareware,
  73.   etc, etc, etc.  Thought I would help some folks out as long as I
  74.   had figured out what was going wrong with my system.    2.0 is a kick
  75.   in the butt!    Whoo-hah!  If you have any questions about this
  76.   program/setup, or just Amiga stuff in general, please feel free to
  77.   contact me at the above address, or the following Internet/Usenet
  78.   addresses:
  79.  
  80.   Internet: doc@brewing.cts.com
  81.   Usenet: crash!brewing!doc
  82.  
  83.   Don't be a stranger, now, ya hear!
  84.  
  85.  
  86.  
  87.  
  88.  
  89.